import React, { Component } from 'react'

export class Son extends Component {
fn(){
    this.props.fn1("我是子组件发送给父组件的数据")
}
  render() {
    console.log(this.props)
    return (
      <div>{this.props.send}
        <button onClick={this.fn.bind(this)}>点击我给父组件发送数据</button>
      </div>
    
    )
  }
}

export default Son